infra: Ubuntu support + integration CI on ephemeral droplets#12
Merged
Conversation
- bin/ci/droplet.sh: reusable droplet lifecycle (create/destroy/wait-ssh/run) - bin/ci/setup-ubuntu.sh: Ubuntu prereqs + setup.sh + test suite - .github/workflows/integration.yml: matrix-based workflow (Ubuntu now, extensible to Arch etc) - Ephemeral everything: fresh droplet + SSH key per run, destroyed on cleanup - Single secret: DO_API_TOKEN
- Add shellcheck step to ci.yml lint job (-S warning level) - Fix SC2155 (declare/assign separately) in droplet.sh, redact-logs.test.sh - Fix SC2164 (cd || exit) in test.sh - Fix SC2044 (find loop) in setup.sh - Suppress SC2088 (tilde in log strings) in security-audit.sh - Suppress SC1090 (dynamic source) in start.sh - Fix set -e + short-circuit pattern in droplet.sh (require_token, ip check)
benvinegar
added a commit
that referenced
this pull request
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support Ubuntu and add integration CI on ephemeral DigitalOcean droplets.
Changes
Ubuntu compatibility fixes
bin/hornet-safe-bash: replacegrep -P(Perl regex) withgrep -E(POSIX extended)setup.sh: fix CWD inheritance (cd /tmp), use deployed harden-permissions, run git config as admin userbin/harden-permissions.sh: guard sessions dirfindfor fresh installsAGENTS.md: add distro-agnostic coding guidelineIntegration CI
bin/ci/droplet.sh: reusable DO droplet lifecycle (create/destroy/wait-ssh/run)bin/ci/setup-ubuntu.sh: Ubuntu prereqs → setup.sh → test suite.github/workflows/integration.yml: matrix workflow (Ubuntu now, extensible to Arch etc)DO_API_TOKEN(already set)Tested
All 207 tests pass.